﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Drawing;

namespace MenuOfLinksHomework
{
    public struct MenuLink
    {
        public string URL { get; set; }
        public string Title { get; set; }
    }

    public partial class MenuOfLinks : System.Web.UI.UserControl
    {
        public List<MenuLink> Data { get; set; }
        public Color color { get; set; }

        protected void Page_Load(object sender, EventArgs e)
        {
            
            this.DataListMenu.DataSource = this.Data;
            this.DataListMenu.DataBind();
        }
    }
}